<!-- Responsive Table -->
<!--<div class="row">
  <div class="col-md-12">

    <div class="panel panel-default" style="background: transparent;padding-top: 0;">


    </div>
  </div>
</div>-->
<div class="panel-body" ng-controller="BuildInfosControler" style="padding: 0">



  <md-toolbar class="demo-toolbar md-primary _md _md-toolbar-transitions" id="found">
    <div class="md-toolbar-tools">
      <button class="md-button md-primary md-ink-ripple md-first-button" type="button"
              aria-label="Create Service" ng-click="buildSilder()"
              style="padding:0 26px;background-color: #67aaf5;color:#fff"><span class="ng-scope"><!--ng-click="createBuild(0)"-->
                              创建构建
                            </span>
        <div class="md-ripple-container"></div>
        <md-tooltip md-direction="right">
          点击创建构建
        </md-tooltip>
      </button>
      <div class="col-lg-3 col-md-4 col-xs-5 search">
        <div class="input-group">
          <input type="text" class="form-control" placeholder="Search for..." ng-model="searchText">
          <span class="input-group-btn">
            <button class="btn btn-default" type="button" ng-click="searchClick()">
              <i class="fa fa-search"></i>
            </button>
          </span>
        </div>
      </div>
    </div>
  </md-toolbar>

  <div id="listPanelContainer" class="row">
    <div id="listPanel" class="col-md-12">
      <div class="panel-without-padding main_content">

        <div class="tabsdemoDynamicTabs" ng-cloak>

          <div class="demo-tab tab{{$index%4}}" style=" text-align: center;">


            <div class="table_mould">
              <div class="thead_mould">
                <ul>
                  <li class="col-lg-3 col-md-3 col-xs-3" ><span style="">构建名称</span></li>
                  <li class="col-lg-5 col-md-3 col-xs-3"><span style="text-align: left;margin-left: 80px;">项目源码地址</span></li>
                  <li class="col-lg-2 col-md-3 col-xs-3">库</li>
                  <li class="col-lg-2 col-md-3 col-xs-3">服务操作</li>
                </ul>
              </div>
              <div class="tbody_mould">
                <ul ng-repeat="buildInfo in currentPageBuilds " class="hover_animate">

                  <li class="col-lg-3 col-md-3 col-xs-3" ng-click="buildHistory(buildInfo.id)" style="cursor: pointer">


                    <div class="buildListIcon" style="background: {{buildInfo.color}}">
                      <i ng-class="buildInfo.icon" style="line-height: 34px;display: block; color: white;"  ></i>
                    </div>
                    <a style="float: left;
    margin-left: 80px;text-align: left;color: #67aaf5 " class="ellipsis col-xs-7 " title="{{buildInfo.id}}" >{{buildInfo.id}}</a>
                    <!--show logs-->

                  </li>

                  <li class="col-lg-5 col-md-3 col-xs-3 "><span style="text-align: left;display: block" class="ellipsis" title="{{buildInfo.gitPath}}">{{buildInfo.gitPath}}</span></li>

                  <li class="col-lg-2 col-md-3 col-xs-3">
                    {{buildInfo.id}}
                  </li>

                  <li class="col-lg-2 col-md-3 col-xs-3 table_btn">
                    <style type="text/css">
                      .a1 {
                        margin: 0px 4px;
                        cursor: pointer
                      }

                      .dropdown-menu {
                        left: -95px;
                        width: 120px;
                        z-index: 10;
                      }
                    </style>

                    <div>


                      <a class="a1 aTag"  ng-click="startBuild($event,buildInfo)"
                         data-original-title="{{data.btn_title}}" uib-tooltip="开始构建"><i class="fa-play"></i></a>

                      <a class="a1 aTag"  ng-click="update($event,buildInfo)" uib-tooltip="更新构建"><i
                          class="fa fa-pencil"></i></a>

                      <div class="btn-group" uib-dropdown style="display: block;    float: left;"
                           ng-class="{true: 'open', false: ''}[isActive]" ng-mouseover="isActive=true"
                           ng-mouseleave="isActive=false">
                        <a id="btn-append-to-single-button" type="button" class="btn  aTag btn_gray"
                           uib-dropdown-toggle style="border: 0;border-radius: 0">
                          <i class="iconfont icon-ellipsis"></i>
                        </a>
                        <ul class="dropdown-menu down_menu" uib-dropdown-menu role="menu"
                            aria-labelledby="btn-append-to-single-button" style="width:160px;left:-120px">
                          <li role="menuitem">
                            <a class="a1" title="查看WebhookURL" ng-click="webhookWhetherOpen($event,buildInfo.id)">
                              <!--ng-click="seeWebhook(buildInfo.id)"-->
                              <i class="iconfont icon-w" style="font-size: 28px;margin: -3px 8px -12px -9px;"></i>查看WebhookURL</a>



                          </li>
                          <li role="menuitem">
                            <a class="a1" data-toggle="tooltip" data-placement="top" title="更新Dockerfile" ng-click="createDocker($event,buildInfo)">
                              <i  class="iconfont icon-gengxin-copy"></i>更新Dockerfile
                            </a>



                          </li>
                          <li>
                            <a class="a1 " data-toggle="tooltip" data-placement="top" title="Dockerfile测试" ng-click="testDocker($event,buildInfo)">
                              <i class="iconfont icon-ceshi"></i>Dockerfile测试
                            </a>
                          </li>

                        </ul>
                      </div>

                      <a  ng-click="delete($event,buildInfo)" class="aTag del" uib-tooltip="删除构建"><i
                          class="fa fa-trash-o "></i></a>
                      <script type="text/ng-template" id="storageDel.html">
                        <div class="modal-header modal_line">
                          <!--<button type="button" class="close" data-dismiss="modal" aria-hidden="true" >&times;</button>-->
                          <i class="iconfont icon-shanchu1" ng-click="cancel()"></i>

                        </div>
                        <div class="modal-body" id="modal-body" style="margin: 0 auto;width: 320px;height: 135px;
    " >
                          <span style="display: block;text-align: center" >确定删除<strong class="ellipsis" style="min-width:20px;max-width:100px; display: inline-block;vertical-align: middle;font-weight: 400;color: rgba(255, 0, 0, 0.7);">{{bName}}</strong>构建任务?</span>
                          <div class="modelIcon">
                            <div class="delIconfont" ><i class="iconfont icon-cuowu"></i></div>
                          </div>
                        </div>

                        <div class="modal-footer">
                          <div>
                            <div class="col-sm-6 col-xs-6" style="">
                              <button class="btn btn-primary" type="button" ng-click="ok()"
                                      style="float: right;margin:0 10px;padding: 7px 28px;border-radius: 8px;">确定
                              </button>
                            </div>
                            <div class="col-sm-6 col-xs-6" style="float: right">
                              <button class="btn btn-default" type="button" ng-click="cancel()"
                                      style="float: left;margin:0 10px;padding: 7px 28px;border-radius: 8px;">取消
                              </button>
                            </div>
                          </div>
                        </div>
                      </script>
                    </div>

                  </li>

                </ul>
              </div>
            </div>


            <!--<div ng-controller="TodoController">-->
            <div class="pull-right" ng-hide="searchPageHide">

              <ul uib-pagination boundary-links="true"  ng-model="currentPage" total-items="buildInfos.length" max-size="3"
                  class="pagination-sm" previous-text="&lsaquo;" next-text="&rsaquo;" first-text="&laquo;"
                  last-text="&raquo;"></ul>

              <!--</div>-- >
            </div>


            <!--</div>-->
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>


  <pageslide ps-open="pageSildeChecked" ps-size="60%" ps-zindex="100" style="line-height:32px" ps-body-class="true">
    <div class="pageSilde">
      <form  name="form">
        <div class="form-group"   ><!--ng-if="configFileSets.length>0"-->
          <label class="col-md-2 col-sm-3 col-xs-3 control-label text-right" for="field-buildname">构建名称<span
              class="required_text" >*</span></label>

          <div class="col-sm-6 col-xs-6">
            <input required type="text" ng-disabled="op==='update'" name="buildName"  ng-model="build.id" ng-pattern="buildnameReg" placeholder="构建名称" class="form-control" id="field-buildname" >
            <div  ng-messages="form.buildName.$error" ng-if="form.buildName.$touched" style="position: absolute;color: red;    bottom: -100%;">
              <div class="error-text" ng-message="required">请输入构建名称!</div>
              <div class="error-text" ng-message="pattern">构建名不合法!</div>
            </div>
          </div>



          <div class="clearfix"></div>


        </div>
        <div class="form-group"   ><!--ng-if="configFileSets.length>0"-->
          <label class="col-md-2 col-sm-3 col-xs-3 control-label text-right" for="field-catalog">dockerfile目录<span
              class="required_text" >*</span></label>

          <div class="col-sm-6 col-xs-6">
            <input type="text" name="buildContext" ng-model="build.buildContext" placeholder="dockerfile目录" class="form-control" id="field-catalog">
          </div>



          <div class="clearfix"></div>


        </div>
        <div class="form-group" ng-hide="autoGet" >
          <label class="col-md-2 col-sm-3 col-xs-3 control-label text-right" >源码库类型<span
              class="required_text" >*</span></label>


          <div layout-gt-sm="row" class="col-sm-6 col-xs-6" style="    margin-bottom: -16px;" >
            <md-radio-group ng-model="build.type"  layout="row" layout-wrap style="margin-bottom: 18px;">

              <md-radio-button value="git" class="md-primary" >Git</md-radio-button>
              <md-radio-button value="svn" class="md-primary"> Svn </md-radio-button>

            </md-radio-group>
          </div>

          <div class="clearfix"></div>
        </div>

        <div class="form-group"   ><!--ng-if="configFileSets.length>0"-->
          <label class="col-md-2 col-sm-3 col-xs-3 control-label text-right" for="field-type">源码库地址<span
              class="required_text" >*</span></label>
          <div class="col-sm-6 col-xs-6">
            <input type="text" name="gitPath" ng-model="build.gitPath" placeholder="请填写源码库地址" class="form-control" ng-disabled="autoGet" id="field-type" ng-blur="gitPathBlur()">
            <div  ng-if="gitPathFlag" style="position: absolute;color: red;    bottom: -100%;">
              <div class="error-text">请输入源码库地址!</div>
            </div>
          </div>

          <div class="col-md-2 col-xs-2" ng-hide="op==='update'">
            <button class="btn btn-info btn-single" ng-click="createBuilAuto()" style="border-radius: 8px;padding:6px 16px" type="button"><!--<i class="fa-plus" ></i>-->自动获取
            </button>
          </div>
          <div class="clearfix"></div>
        </div>

        <div class="form-group"   ng-hide="op==='update'|| build.type=='svn'||(codeTypeFlag)"><!--ng-if="configFileSets.length>0"-->

          <label class="col-md-2 col-sm-3 col-xs-3 control-label text-right" for="isCI">持续集成<span
              class="required_text" style="color:#fff">*</span></label>
          <div class="col-sm-2 col-xs-2" style="width:100px;line-height: normal" >
            <input type="checkbox" id="isCI"  class="chk_3" ng-model="build.isCI" />
            <label for="isCI" style="    margin: 3px 0 0 0;"></label>

            <!--<input type="checkbox" class="iswitch-lg iswitch-info" ng-model="build.isCI" style="    margin: 3px 0 0 0;">-->
          </div>

          <div class="col-sm-8 col-xs-8" ng-if="!build.isCI">
            <span style="color:#999">*持续集成是可以产品在快速迭代的同时保持高质量的软件开发实践</span>

          </div>
          <div class="col-sm-8 col-xs-8" ng-if="build.isCI">
            <span style="color:#999">*持续集成已开启请手动添加</span>

          </div>
          <div class="clearfix"></div>


        </div>

        <div class="form-group" ng-hide="autoGet"  >
          <label class="col-md-2 col-sm-3 col-xs-3 control-label text-right" for="field-account">账号<span
              class="required_text" style="color:#fff">*</span></label>

          <div class="col-sm-6 col-xs-6">
            <input type="text" name="username" ng-model="build.username" placeholder="请输入用户名" class="form-control" id="field-account">
          </div>



          <div class="clearfix"></div>


        </div>

        <div class="form-group" ng-hide="autoGet">
          <label class="col-md-2 col-sm-3 col-xs-3 control-label text-right" for="field-pass">密码<span
              class="required_text" style="color:#fff">*</span></label>

          <div class="col-sm-6 col-xs-6" >
            <input type="password" name="password" ng-model="build.password" placeholder="请输入密码" class="form-control" id="field-pass">
          </div>



          <div class="clearfix"></div>


        </div>
        <div class="form-group clearfix">


          <div class="col-sm-8 col-xs-8" style="padding-left: 30px" ng-hide="autoGet">
                <span style="color:#999;white-space: nowrap;">注意：git协议的地址暂不支持通过账号密码提取代码
                </span><br>
            <span style="color:#999;white-space: nowrap;">如有需要账号密码才能拉取code的请输入
                </span>
          </div>

        </div>
        <div class="form-group" style="text-align: center;padding-right:60px">
          <button class="btn btn-primary" type="button" ng-disabled="form.buildName.$error.required||form.buildName.$error.pattern||gitPathFlag" ng-click="confirmOperation()" style="margin-right: 30px; padding:7px 35px">确定</button>
          <button class="btn btn-default" type="button" ng-click="cancelCreat()" style="padding:7px 35px">取消</button>
        </div>
      </form>
    </div>
  </pageslide>

</div>

<!-- Modal 1 -->


<script type="text/ng-template" id="webhookWhetherOpen.html">
  <div class="modal-header modal_line">
    <i class="iconfont icon-shanchu1" ng-click="cancel()"></i>

    <h4 class="modal-title">webhook</h4>


  </div>
  <div class="modal-body"  style="margin: 0 auto;width: 320px;height: 160px;" >
    <span style="display: block;text-align: center;font-size: 16px;color: #666;" >尚未开启持续集成，是否开启</span>
    <div class="modelIcon" style="top: 25px;">
      <img src="static/cp/images/yun.png" alt="" width="136px" style="    margin-left: -28px">
    </div>
  </div>

  <div class="modal-footer">
    <div class="col-sm-6 col-xs-6" style="">
      <button class="btn btn-success" type="button" ng-hide="mountd"  style="float: right;margin:0 15px;padding: 7px 28px;background: #29D196;border-radius: 8px;" ng-click="openCI()">
        开启
      </button>
    </div>
    <div class="col-sm-6 col-xs-6" style="float: right"><button class="btn btn-info" type="button" ng-click="cancel()" style="float: left;margin:0 15px;padding: 7px 28px;border-radius: 8px;">取消</button></div>
  </div>
</script>
<script type="text/ng-template" id="webhookWhetherSorry.html">
  <div class="modal-header modal_line">
    <i class="iconfont icon-shanchu1" ng-click="cancel()"></i>

    <h4 class="modal-title">对不起~</h4>


  </div>
  <div class="modal-body"  style="margin: 0 auto;max-width: 500px;height: 192px;" >

    <div class="modelIcon" style="top: -20px;">
      <img src="static/cp/images/yu.png" alt="" width="112px" style="    margin-left: -16px">

    </div>
    <span style="display: block;text-align: center;margin: 135px 0 0 0;    font-size: 16px;color: #666;" >{{dialogContent}}</span>

  </div>

  <div class="modal-footer">
    <button class="btn btn-info btnOpen" type="button" ng-click="cancel()" style="margin: 0 auto;display: block;padding: 7px 28px;;border-radius: 8px;">确定</button>
    <!--<div class="col-sm-6" style=""><button class="btn btn-primary" type="button" ng-hide="mountd" style="float: right;margin:0 15px">开启</button>
    </div>
    <div class="col-sm-6" style="float: right"><button class="btn btn-default" type="button" ng-click="cancel()" style="float: left;margin:0 15px">取消</button></div>-->
  </div>
</script>
<script type="text/ng-template" id="webhookWhetherOpening.html">
  <div class="modal-header modal_line">
    <i class="iconfont icon-shanchu1" ng-click="cancel()"></i>

    <h4 class="modal-title">手动添加Webhook（已开启持续集成）</h4>


  </div>
  <div class="modal-body overflowScoll"  style="margin: 0 auto;width: 500px;height: 230px;padding-bottom: 0;" >

    <div class="modelIcon" style="top: -20px;">
      <img src="static/cp/images/dui.png" alt="" width="112px" style="    margin-left: -16px">

    </div>
    <span style="display: block;text-align: center;margin: 135px 0 0 0;    font-size: 16px;color: #666;">请将该URL填入到<span>{{urlType}}</span>上WebHook中</span>

    <div class="form-group" style=" margin: 10px 0 0 70px;">
      <div class="col-sm-8" style="padding: 0">
        <input id="whURL" type="text" ng-required="string" ng-model="webhookURL"  class="form-control ng-pristine ng-untouched ng-empty ng-valid ng-valid-required" aria-invalid="false">
      </div>
      <div class="col-sm-2">
        <button id="copybtn" class="btn btn-info btn-single" ng-click="copyUrl()" style="border-radius: 8px;padding: 6px 16px;" title="复制" data-placement="right" tooltip><i class="iconfont icon-fuzhi_fuzhi"></i> 复制</button>
      </div>
      <div class="clearfix"></div>
      </div>


    </div>

  <div class="modal-footer">
    <!--<button class="btn btn-info btnOpen" type="button" ng-hide="mountd" style="margin: 0 auto;display: block;padding: 7px 28px;;border-radius: 8px;">开启</button>-->

   <div>
     <div class="col-sm-6 col-xs-6" style=""><button class="btn btn-info" type="button" style="float: right;margin:0 15px;padding: 7px 28px;border-radius: 8px;" ng-click="cancel()">确定</button>
     </div>
     <div class="col-sm-6 col-xs-6" style="float: right">
       <button class="btn btn-danger" type="button" ng-click="closeCI()" ng-hide="hideBtn" style="float: left;margin:0 15px;padding: 7px 28px;border-radius: 8px;background:#FD7056">关闭持续集成</button></div>
   </div>
   </div>
  </div>

</script>
<!--开始构建-->


<script type="text/ng-template" id="startBuilding.html">
  <div class="modal-header modal_line">
    <!--<button type="button" class="close" data-dismiss="modal" aria-hidden="true" >&times;</button>-->
    <i class="iconfont icon-shanchu1" ng-click="cancel()"></i>

    <h4 class="modal-title">开始构建</h4>
  </div>

  <div class="modal-body" >
    <div class="row">
      <div class="col-md-12">

        <form role="form"  class="form-wizard validate" name="form">
          <div class="form-group">


            <label class="col-sm-3 control-label text-right" >选择版本：</label>
            <div class="col-sm-7">
              <select ng-model="sub.version" class="form-control" ng-options="spec for spec in specs"
                      ng-disabled="!(sub.curCluster!==undefined&&sub.curCluster.clusterId==='default')">
              </select>
            </div>
            <div class="clearfix"></div>

          </div>
        </form>

      </div>


      <div class="col-md-12">

        <form role="form"  class="form-wizard validate" name="form">
          <div class="form-group">


            <label class="col-sm-3 control-label text-right" >文件格式：</label>
            <div class="col-sm-7">
              <label class="btn btn-info modal_label" ng-model="radioModel" uib-btn-radio="'ext4'" uncheckable style="line-height: normal">ext4</label>
              <label class="btn btn-success modal_label" ng-model="radioModel" uib-btn-radio="'Middle'" uncheckable style="line-height: normal">Middle</label>
              <!--<label class="btn btn-success modal_label" ng-model="radioModel" uib-btn-radio="'Right'" uib-uncheckable="uncheckable">Right</label>-->
            </div>



          </div>
        </form>

      </div>




    </div>
  </div>

  <div class="modal-footer">
    <button type="button" class="btn btn-white" data-dismiss="modal" ng-click="cancel()">取 消</button>
    <button type="button" class="btn btn-white" ng-click="ok()">确 定</button>
  </div>
</script>

<!--创建构建-->
<script type="text/ng-template" id="createBuild.html">
  <style>
    md-dialog.md-transition-in{
      max-width: 70%;
      max-height: 600px;
    }
    .md-dialog-container{
      z-index:200;

    }
  </style>
  <div class="modal-header modal_line" ng-click="$event.stopPropagation()">

    <i class="iconfont icon-shanchu1" ng-click="cancel()"></i>

    <h4 class="modal-title">导入数据</h4>
  </div>

  <div class="modal-body" style="width: 900px;overflow-y: scroll;" ng-click="$event.stopPropagation()">
    <div class="col-md-12">
      <div class="form-group gallery-env ">


        <div class="album-images row">

          <div class="col-md-2 repolist">
            <div class="album-image create_img">
									<span class="thumb ">
                                        <img src="static/cp/images/pic_9.png">
									</span>

              <!--<input type="radio" ng-model="repoType" value="github">-->

              <!-- <div class="image-options">
                   <div class="cbr-replaced"><div class="cbr-input"><input type="checkbox" class="cbr cbr-done"></div><div class="cbr-state"><span></span></div></div>

               </div>-->
              <div class="image-options">
                <label>
                  <input type="radio" ng-model="repoType" name="group1" value="github" class="cbr cbr-blue" ng-checked="true"/>

                </label>

              </div>
              <div class="image-checkbox">
                Github<div class="clearfix"></div>


              </div>
            </div>
          </div>
          <div class="col-md-2 repolist">
            <div class="album-image create_img">
              <md-tooltip md-delay="300">
                由于域名解析不稳定,
                当获取列表失败,请重试几次
              </md-tooltip>
              <span class="thumb ">
                <img src="static/cp/images/pic_10.png">
              </span>
              <div class="image-options">
                <label>
                  <input type="radio" ng-model="repoType" name="group1" value="bitbucket" class="cbr cbr-blue" />

                </label>

              </div>
              <div class="image-checkbox">
                Bitbucket<div class="clearfix"></div>
              </div>

            </div>
          </div>



          <!---->
          <!-- <div class="col-md-2 repolist">
               <div class="album-image create_img">
<span class="thumb ">
               <img src="assets/images/pic_9.png">
</span>



                   <div class="image-options">
                       <div class="cbr-replaced"><div class="cbr-input"><input type="checkbox" class="cbr cbr-done"></div><div class="cbr-state"><span></span></div></div>

                   </div>

                   <div class="image-checkbox">
                       Github<div class="clearfix"></div>


                   </div>
               </div>
           </div>
           &lt;!&ndash;&ndash;&gt;
           <div class="col-md-2 repolist">
               <div class="album-image create_img">
<span class="thumb ">
               <img src="assets/images/pic_9.png">
</span>



                   <div class="image-options">
                       <div class="cbr-replaced"><div class="cbr-input"><input type="checkbox" class="cbr cbr-done"></div><div class="cbr-state"><span></span></div></div>

                   </div>

                   <div class="image-checkbox">
                       Github<div class="clearfix"></div>


                   </div>
               </div>
           </div>-->



        </div>   <br>

        <div class="form-group">
          <button class="btn btn-blue btn-lg" type="submit" ng-click="selectCodeRepo();">获取代码列表</button>
        </div>



        <table class="table " style="margin: 0;">
          <thead>
          <tr style="background: #f5f7fa;">

            <th>仓库源名称</th>

            <th>操作</th>

          </tr>
          </thead>


          <tbody>
          <tr ng-repeat="repo in codeRepos">

            <td>{{repo.full_name}}</td>
            <td><a href="" ng-click="selectClientRepo(repoType, repo.name);" style="color:#64A8F8">选 择</a> </td>


          </tr>





          </tbody>
        </table>

      </div>









    </div>
</div>

</script>
<!--错误提示-->
<script type="text/ng-template" id="codeFailed.html">
  <div class="modal-header modal_line">
    <i class="iconfont icon-shanchu1" ng-click="cancel()"></i>

    <h4 class="modal-title">build operate error</h4>


  </div>
  <div class="modal-body"  style="margin: 0 auto;max-width: 500px;height: 192px;" >

    <div class="modelIcon" style="top: -20px;">
      <img src="static/cp/images/yu.png" alt="" width="112px" style="    margin-left: -16px">

    </div>
    <span style="display: block;text-align: center;margin: 135px 0 0 0;    font-size: 16px;color: #666;" >Code Tag list get failed</span>

  </div>

  <div class="modal-footer">
    <button class="btn btn-info btnOpen" type="button" ng-click="cancel()" style="margin: 0 auto;display: block;padding: 7px 28px;;border-radius: 8px;">确定</button>
    <!--<div class="col-sm-6" style=""><button class="btn btn-primary" type="button" ng-hide="mountd" style="float: right;margin:0 15px">开启</button>
    </div>
    <div class="col-sm-6" style="float: right"><button class="btn btn-default" type="button" ng-click="cancel()" style="float: left;margin:0 15px">取消</button></div>-->
  </div>

</script>
<script type="text/ng-template" id="errorForbidden.html">
  <div class="modal-header modal_line">
    <i class="iconfont icon-shanchu1" ng-click="cancel()"></i>

    <h4 class="modal-title">build operate error</h4>


  </div>
  <div class="modal-body"  style="margin: 0 auto;max-width: 500px;height: 192px;" >

    <div class="modelIcon" style="top: -20px;">
      <img src="static/cp/images/yu.png" alt="" width="112px" style="    margin-left: -16px">

    </div>
    <span style="display: block;text-align: center;margin: 135px 0 0 0;    font-size: 16px;color: #666;" >Forbidden to get Code Tag list</span>

  </div>

  <div class="modal-footer">
    <button class="btn btn-info btnOpen" type="button" ng-click="cancel()" style="margin: 0 auto;display: block;padding: 7px 28px;;border-radius: 8px;">确定</button>
    <!--<div class="col-sm-6" style=""><button class="btn btn-primary" type="button" ng-hide="mountd" style="float: right;margin:0 15px">开启</button>
    </div>
    <div class="col-sm-6" style="float: right"><button class="btn btn-default" type="button" ng-click="cancel()" style="float: left;margin:0 15px">取消</button></div>-->
  </div>

</script>

<div class="modal fade" id="modal-1">
  <div class="modal-dialog">
    <div class="modal-content">

      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">更新构建</h4>
      </div>

      <div class="modal-body">
        <div class="row">
          <div class="col-md-12">

            <div class="form-group">


              <label class="col-sm-3 control-label text-right">构建：</label>
              <div class="col-sm-7">
                <input type="text" class="form-control" placeholder="test">
              </div>
              <div class="clearfix"></div>

            </div>

          </div>

          <div class="col-md-12">

            <div class="form-group">


              <label class="col-sm-3 control-label text-right">源码库地址：</label>
              <div class="col-sm-8">
                https://hjqi@bitbucket.org/hjqi/nodejs-sample.git
              </div>
              <div class="clearfix"></div>


            </div>

          </div>

          <div class="col-md-12">

            <div class="form-group">


              <label class="col-sm-3 control-label text-right">填写库名称：</label>
              <div class="col-sm-7">
                <input type="text" class="form-control" placeholder="nodejs-sample">
              </div>
              <div class="clearfix"></div>

            </div>

          </div>

          <div class="col-md-12">

            <div class="form-group">


              <label class="col-sm-3 control-label text-right">填写上下文：</label>
              <div class="col-sm-7">
                <input type="text" class="form-control" placeholder="nodejs-sample">
              </div>
              <div class="clearfix"></div>

            </div>

          </div>

        </div>


      </div>

      <div class="modal-footer">
        <button type="button" class="btn btn-white" data-dismiss="modal">取 消</button>
        <button type="button" class="btn btn-info">确 定</button>
      </div>
    </div>
  </div>
</div>
